
#pragma once
#include <string>
#include <map>

namespace http {



	class Headers {

		// types.
		typedef std::map<std::string, std::string> Cont;
		Cont _cont;

		Headers( const Headers & other );
		Headers & operator=( const Headers & other );
	public:
		// types.
		typedef Cont::iterator iterator;
		typedef Cont::const_iterator const_iterator;


		Headers();
		~Headers();

		void set( const std::string & header, const std::string & value );
		void reset( const std::string & header );

		iterator begin();
		iterator end();
		const_iterator begin() const;
		const_iterator end() const;
		
	};

}